-
Notifications
You must be signed in to change notification settings - Fork 326
Add Dotty error messages post #488
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Dotty error messages post #488
Conversation
ping: @SethTisue |
|
||
It doesn't really make sense to put this in a `try`-block for two reasons: | ||
|
||
1. It doesn't throw an exception |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This part is irrelevant to the present discussion. I suggest you replace 1 + 2
by foo()
, and let the reader figure out that foo()
might throw an exception.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Alright!
|
||
This is helpful, but it has a couple of drawbacks: | ||
|
||
1. If we have a bazillion errors, it will be hard to read |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is that really relevant, here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes - the new errors have division between errors so you can see where one ends and another begins.
2. Read the howto on error messages | ||
3. Choose an error message you want to help with and post a comment saying | ||
which one(s) | ||
4. Get hacking! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
5 - Submit a PR
?
93efc2e
to
3ae06c7
Compare
👏 Can I merge this now? |
Well OK, I'm doing it :) |
what's the equivalent of "the squeaky wheel gets the grease", but for the person who oils the wheels? "the squeaky wheel only squeaks when the guy with the oil can walks by"? |
Hey there!
We'd like to add this post on dotty error messages to the blog.
Cheers,
Felix